﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="ucTestimonialsDetail.ascx.cs"
    Inherits="Indochinaodyssey.UserControl.Testimonials.TestimonialsDetail" %>
<style type="text/css">
    div.content-place-body p
    {
        float: left;
        padding:10px 0px 10px 0px;
        margin: 0px 0px 0px 0px;
        display: inline;
    }
    .linkTestimonial
    {
        color:#000000;
        font-size: 13px;
        text-decoration: none;
    }
    .linkTestimonial:hover
    {
        text-decoration: underline;
    }
</style>
<div class="content-palce">
    <div class="content-palce-title" style="margin-top: 1px; width: 698px;">
        Testimonials Detail
    </div>
    <div class="content-place-body" style="font-size: 13px;">
        <asp:DataList ID="DataList1" runat="server" DataSourceID="ObjectDataSource1" Width="100%">
            <ItemTemplate>
                <asp:Label ID="NoiDungLabel" runat="server" Text='<%# Eval("NoiDung") %>' />
                <br />
            </ItemTemplate>
        </asp:DataList>
        <asp:ObjectDataSource ID="ObjectDataSource1" runat="server" SelectMethod="GetById"
            TypeName="IOBusiness.clsBSTestimonials">
            <SelectParameters>
                <asp:QueryStringParameter Name="id" QueryStringField="id" Type="Int32" />
            </SelectParameters>
        </asp:ObjectDataSource>
        <div class="testimonial-more">
            <b>More:</b><br />
            <asp:ObjectDataSource ID="ObjectDataSource2" runat="server" SelectMethod="GetAll"
                TypeName="IOBusiness.clsBSTestimonials">
                <SelectParameters>
                    <asp:QueryStringParameter Name="id" QueryStringField="id" Type="Int32" />
                </SelectParameters>
            </asp:ObjectDataSource>
            <asp:DataList ID="DataList2" runat="server" DataSourceID="ObjectDataSource2" Width="100%">
                <ItemTemplate>
                    <table style="width: 100%;">
                        <tr>
                            <td style="width: 16px; vertical-align: top">
                                <img alt="tab" class="tab" src="../../Styles/Images/tab_right.png" />
                            </td>
                            <td style="vertical-align: top">
                                <asp:HyperLink ID="linkTestimonial" CssClass="linkTestimonial" runat="server" NavigateUrl='<%# "~/TestimonialsDetail.aspx?id="+ Eval("Id") %>'><%# Eval("NoiDung") %>...</asp:HyperLink>
                            </td>
                        </tr>
                    </table>
                </ItemTemplate>
            </asp:DataList>
        </div>
    </div>
</div>
